package cn.lsq.basic.mapper;



import cn.lsq.basic.query.BaseQuery;

import javax.management.Query;
import java.util.List;

public interface BaseMapper<T> {
    List<T> loadAll();
    T loadById(Long id);
    void save(T t);
    void remove(Long id);
    void update(T t);
    Long queryCount(BaseQuery baseQuery);
    List<T> queryData(BaseQuery baseQuery);
    void patchDelete(Long[] ids);
}
